const Loyout = () => import(/* webpackChunkName: "layout" */ "../views/layout/layout.vue");
import { auth } from "./ext/auth";
import { csisa } from "./ext/csisa";

export const routers = [
  {
    path: "/",
    component: Loyout,
    meta: { title: "项目中心" },
    children: [
      {
        path: "/personal",
        name: "personal",
        component: () => import(/* webpackChunkName: "user" */ "../views/personal/user.vue"),
        meta: { title: "个人中心" },
        ishide: true,
      },
      ...auth, // 权限管理
      ...csisa, // 图采
    ],
  }
];
